package com.example.demo.service.impl;

import com.example.demo.entity.CrCustomer;
import com.example.demo.entity.CrRepairOrder;
import com.example.demo.entity.InteInquire;
import com.example.demo.mapper.RepairOrderMapper;
import com.example.demo.service.RepairOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RepairOrderServiceImpl implements RepairOrderService {

    @Autowired
    private RepairOrderMapper inteInquireMapper;
    @Override
    public List<InteInquire> selectAll(String names, String car) {

        return inteInquireMapper.selectAll(names,car);
    }

    @Override
    public List<InteInquire> selectReport(String names, String carNum) {
        return inteInquireMapper.selectReport(names,carNum);
    }

    @Override
    public List<CrRepairOrder> selectAllOrder() {
        return inteInquireMapper.selectAllOrder();
    }


}
